bitkeeper revision 1.661 (3ff30d48qn0UJdw28uFYaO5EgbzFHQ)
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Wed, 31 Dec 2003 17:54:16 +0000 (17:54 +0000)
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>
Wed, 31 Dec 2003 17:54:16 +0000 (17:54 +0000)
compatibility fix to remove a warning in tg3 driver.

BitKeeper/etc/ignore
xen/include/xeno/pci.h

index ea3cbe4ab91cdf8865e3e2d083b62a0a531a1fc8..4455d9c5a1ffec7de415f76c22cd60ffc27aa0be 100644 (file)
@@ -534,3 +534,4 @@ xen/drivers/scsi/sym53c8xx_2/sym_hipd.o
 xen/drivers/scsi/sym53c8xx_2/sym_malloc.o
 xen/drivers/scsi/sym53c8xx_2/sym_misc.o
 xen/drivers/scsi/sym53c8xx_2/sym_nvram.o
+xen/arch/i386/flushtlb.o
index 33e612491ec2efc729769839a55c37a1c38b0cb5..0c45623eabd4fdb541f284ab2f6e03547d966ee6 100644 (file)
@@ -775,6 +775,11 @@ static inline void pci_set_drvdata (struct pci_dev *pdev, void *data)
        pdev->driver_data = data;
 }
 
+static inline char *pci_name(struct pci_dev *pdev)
+{
+        return pdev->slot_name;
+}
+
 /*
  *  The world is not perfect and supplies us with broken PCI devices.
  *  For at least a part of these bugs we need a work-around, so both